

nav {
    width: 1898px;
    height: 90px;
    position: relative;
  
   section{
      width: 1510px;
      height: 100%;
      margin: 0 auto;
      margin-left: 130px;
     
      display: flex;
      justify-content: space-between;
      align-items: center;
      div{
         &:first-child{
              width: 1163px;
              height: 100%;
              display: flex;
              justify-content: space-between;
              div{
                 width: 292px;
                 height: 100%;
                 overflow: hidden;
                      a{
                display: block;
                margin: auto;
                    img{
                     
                        width: 204px;
                        height: 34px;
                    }
                
                }
              
         }
        }
    
              ul{
                width: 870px;
                height: 100%;
                margin-left: 30px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                

                li{
                    width: calc(100% /6);
                    height: 20px;
                    cursor:pointer ;
                    
                    a{
                        font-size: 18px;
                        &:hover{color: coral;}
                    }

                }

              }
          
      }
      .icon-sousuo{
         font-size: 30px !important;
         color: #b5b5b5 !important;
         cursor: pointer;
         &:hover{
            color: #ccc !important;
         }
      }
      .sousuo{
          position: absolute;
          top:0px ;
          width: 640px;
          height: 350px;
          z-index: 100;
          display: none;
          overflow: hidden;
          left:calc(50% - 270px);
          background-color:#fff;
          span{
              cursor: pointer;
          }
          ol{
              width: 600px;
              height: 40px;
              background-color: #f2f2f2;
              margin: 20px auto ;
              border-radius: 10px;
            
              display: flex;
              justify-content: space-between;
              align-items: center;
              span{
                font-size: 20px !important;
                
              }
              input{
                 flex: 1;
                  height: 100%;
                  background-color: #f2f2f2;
              }
            
          }
          h2{
            width: 100%;
            height: 52px;
            display: flex;
           align-items: center;
           padding: 0 10px;
            justify-content: space-between;

        }
        ul{
            width: 100%;
            height: 200px;
            margin: 0;
            margin-left: 15px;
            overflow:auto ;
            display: block;
            li{
                width: 100%;
                height: 20px;
                margin: 15px 0;
                
            }
        }
      }
      .mark{
          position:fixed;
          width: 100%;
        height: 1800px;
        left: 0;
        display: none;
        top: 60px;
          background-color: #7f7f7f;
          opacity: 0.7;
          z-index: 99;
      }
   }



}


main {
    width: 1909px;
    min-height: 800px;
    background-color: #fff;

    section {

        // <!-- 商品放大镜区域 -->
        &:first-child {
            width: 1217px;
            height: 631px;
            margin: 0 auto;

            border-bottom: 1px solid #cecece;

            .navv {
                width: 1214px;
                height: 52px;
                display: flex;
                align-items: center;
                font-size: 13px;

                .navv-l{

                    width: 160px;
                
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                
                }
       


                li {
                    margin: 0 10px;

                    a {
                        font-size: 12px;

                        span {
                            color: #cecece;
                        }
                    }
                }
            }

            //  
            // 放大镜

            // magnifier
            .left {
                width: 460px;
                height: 580px;
                float: left;
                position: relative;

                .smallimge {
                    // width: 460px;
                    // height: 450px;
                    width: 300px;
                    height: 300px;
                    
                    img {
                        // width: 460px;
                        // height: 450px;
                        width: 300px;
                    height: 300px;
                    }
                  span{
                      display: block;
                      width: 200px;
                      height: 200px;
                      top: 0;
                      display: none;
                      position: absolute;
                      background-color:#fff;
                      opacity: 0.6;
                  }
                }

                // magnifier  
                .magnifier {
                    position:absolute;
                    // width: 600px;
                    height: 500px;
                    top: 0;
                    right: -600px;
                    overflow: hidden;
                 width: 420px;
                    display: none;

                    img {
                        width: 700px;
                        height: 700px;
                        position: absolute;

                    }

                }

                ul {

                    width: 100%;
                    height: 74px;
                       
                    margin-top: 20px;
                    display: flex;


                    li {
                        width: 25%;
                        height: 100%;
                        border: 1px solid red;


                        img{
                            width: 100%;
                            height: 100%;
                        }

                    }
                }
            }

            .right {
                width: 710PX;
                height: 580px;

                float: right;

                h1 {
                    font-size: 20px;
                    height: 30px;
                    width: 700px;

                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                h2 {
                    width: 680px;
                    font-size: 13px;
                    margin: 8px 0;

                    a {
                        font-size: 13px;
                        color: red;
                        text-decoration: underline !important;
                    }
                }

                div {
                    height: 80px;
                    background-color: #cecece;

                    p {
                        height: 40px;
                        line-height: 40px;
                        font-size: 13px;

                        span {
                            margin: 0 20px;
                        }

                        &:first-child {
                            span {
                                color: red;
                                font-size: 18px;
                            }

                        }

                        &:last-child {
                            span {

                                width: 105px;
                                color: red;
                                font-size: 14px;
                                border: 1px solid red;
                            }
                        }
                    }
                }

                .p2 {
                    width: 100%;
                    height: 40px;
                    line-height: 40px;
                    font-size: 13px;
                    border-bottom: 1px solid #cecece;

                    span {
                        margin: 0 20px;
                    }

                    &:first-child {
                        margin-top: 20px;

                        span {
                            color: red;
                            font-size: 18px;
                        }

                    }

                    &:last-child {
                        span {

                            width: 105px;
                            color: red;
                            font-size: 14px;
                            border: 1px solid red;
                        }
                    }
                }

                label {
                    width: 160px;
                    height: 30px;
                    display: flex;
                    margin-top: 20px;

                    justify-content: space-between;

                    input {
                        width: 85px;
                        line-height: 30px;
                        border: 1px solid red;
                        display: flex;
                        text-align: center;
                    }

                }

                ol {
                    width: 100%;
                    height: 80px;

                    margin-top: 170px;

                    li {
                        &:first-child {
                            font-size: 13px;
                        }

                        &:last-child {
                            height: 45px;
                            font-size: 13px;
                            display: flex;
                            margin-top: 12px;

                            p {
                                width: 168px;
                                height: 45px;
                                line-height: 45px;
                                text-align: center;

                                &:first-child {
                                    background-color: chocolate;
                                    margin-left: 50px;
                                    margin-right: 12px;
                                }

                                &:last-child {
                                    background-color: red;
                                }
                            }
                        }
                    }
                }

            }

        }

        &:last-child{
   width: 1217px;
            height: 631px;
            margin: 0 auto;


        }

    }
}

/*侧边栏*/
aside{
    width: 80px;
    min-height: 192px;
   
   position: fixed;
    right: 0px;
  background-color: #fff;
    bottom: 30px;
    li{
        width: 80px;;
        height:calc(292px/4);
        
      
        a{
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            justify-content: space-around;
            align-items: center;
            font-size: 12px;
            color: #7f7f7f;

            &:hover{
                color: coral !important;
            }
            span{
                font-size: 25px !important;
            }
        }
    }
    .goShopping{
        position: relative;

        p{
          position: absolute;
          width: 20px;
          height: 20px;
          border-radius: 50%;
          background-color: red;
          text-align: center;
          line-height: 20px;
          top: -5px;
          right: 20px;
          cursor: pointer;

        }
    }
 
}
